home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
kcl
/
akcl
/
akcl1615.lha
/
mp
/
mp_shiftl.c
< prev
next >
Wrap
Text File
|
1991-02-03
|
210b
|
15 lines
typedef unsigned long ulong;
ulong hiremainder,overflow;
int shiftl(x,y)
ulong x,y;
{
hiremainder=x>>(32-y);return (x<<y);
}
int shiftlr(x,y)
ulong x,y;
{
hiremainder=x<<(32-y);return (x>>y);
}